<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8" />
    <title>演员详情页面</title>
    <link href="https://cdn.bootcss.com/bootstrap/4.0.0/css/bootstrap.min.css" rel="stylesheet"/>
</head>
<body>
<div class="container">
    <h1 style="size: 20px">学号：1604220415    姓名：黄志明</h1>
    <h1 class="text-center">演员详情页面</h1>
    <div class="float-right">
        <a class="btn btn-primary" th:href="@{/movie/index}">返回首页</a>
    </div>

    <table class="table table-bordered">
        <tr>
            <th>#</th>
            <th>姓名</th>
            <th>性别</th>
            <th>出生日期</th>
            <th>操作</th>
        </tr>
        <tr>
            <td th:text="${actor.id}"></td>
            <td th:text="${actor.name}"></td>
            <td th:text="${actor.sex}"></td>
            <td th:text="${actor.born}"></td>
            <td>
                <a th:href="@{/actor/edit/{actorId}(actorId=${actor.id})}">编辑</a>
            </td>
        </tr>
    </table>

</div>
</body>
</html>